package edu.sctu.nieyu.day20150607.thread;

/**
 * Created by user01 on 2015/6/7.
 */
public class TestRunable implements  Runnable {

    @Override
    public void run() {

        for (int i = 0; i <10 ; i++) {
            System.out.println(i);
            try {
                Thread.sleep(1000);
            }catch (InterruptedException e){
                e.printStackTrace();
            }

        }
    }
}
